package SimpleUploadBulkCMIRPSystem;

import org.omg.PortableServer.POA;

/**
 * Generated from IDL interface "SimpleUploadBulkCMIRP".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 2013-5-20 22:07:19
 */

public class SimpleUploadBulkCMIRPPOATie
	extends SimpleUploadBulkCMIRPPOA
{
	private SimpleUploadBulkCMIRPOperations _delegate;

	private POA _poa;
	public SimpleUploadBulkCMIRPPOATie(SimpleUploadBulkCMIRPOperations delegate)
	{
		_delegate = delegate;
	}
	public SimpleUploadBulkCMIRPPOATie(SimpleUploadBulkCMIRPOperations delegate, POA poa)
	{
		_delegate = delegate;
		_poa = poa;
	}
	public SimpleUploadBulkCMIRPSystem.SimpleUploadBulkCMIRP _this()
	{
		return SimpleUploadBulkCMIRPSystem.SimpleUploadBulkCMIRPHelper.narrow(_this_object());
	}
	public SimpleUploadBulkCMIRPSystem.SimpleUploadBulkCMIRP _this(org.omg.CORBA.ORB orb)
	{
		return SimpleUploadBulkCMIRPSystem.SimpleUploadBulkCMIRPHelper.narrow(_this_object(orb));
	}
	public SimpleUploadBulkCMIRPOperations _delegate()
	{
		return _delegate;
	}
	public void _delegate(SimpleUploadBulkCMIRPOperations delegate)
	{
		_delegate = delegate;
	}
	public POA _default_POA()
	{
		if (_poa != null)
		{
			return _poa;
		}
		return super._default_POA();
	}
	public void upload(java.lang.String session_id, java.lang.String sink, java.lang.String base_object, BulkCmIRPConstDefs.SearchControl search_control) throws BulkCmIRPSystem.ConcurrencyException,ManagedGenericIRPSystem.InvalidParameter,BulkCmIRPSystem.UnknownSessionIdException,BulkCmIRPSystem.IllegalFilterFormatException,BulkCmIRPSystem.IllegalScopeLevelException,BulkCmIRPSystem.IllegalDNFormatException,BulkCmIRPSystem.NotValidInCurrentStateException,BulkCmIRPSystem.MaxSessionReachedException,BulkCmIRPSystem.IllegalURLFormatException,BulkCmIRPSystem.IllegalScopeTypeException,BulkCmIRPSystem.UploadException
	{
_delegate.upload(session_id,sink,base_object,search_control);
	}

	public ManagedGenericIRPConstDefs.Method[] get_simple_upload_bulk_cm_irp_notification_profile(java.lang.String bulk_cm_irp_version) throws ManagedGenericIRPSystem.InvalidParameter,ManagedGenericIRPSystem.OperationNotSupported,SimpleUploadBulkCMIRPSystem.GetSimpleUploadBulkCMIRPNotificationProfileException
	{
		return _delegate.get_simple_upload_bulk_cm_irp_notification_profile(bulk_cm_irp_version);
	}

	public ManagedGenericIRPConstDefs.Method[] get_simple_upload_bulk_cm_irp_operation_profile(java.lang.String bulk_cm_irp_version) throws ManagedGenericIRPSystem.InvalidParameter,ManagedGenericIRPSystem.OperationNotSupported,SimpleUploadBulkCMIRPSystem.GetSimpleUploadBulkCMIRPOperationProfileException
	{
		return _delegate.get_simple_upload_bulk_cm_irp_operation_profile(bulk_cm_irp_version);
	}

	public java.lang.String[] get_simple_upload_bulk_cm_irp_versions() throws SimpleUploadBulkCMIRPSystem.GetSimpleUploadBulkCmIRPVersionsException
	{
		return _delegate.get_simple_upload_bulk_cm_irp_versions();
	}

}
